package com.cljz.makepassenger.model.net.bean;

import java.io.Serializable;
import java.util.ArrayList;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by CLJZ on 2017/3/3.
 */
public class InviteDetailBean implements IModel, Serializable {


    /**
     * error_code : 0
     * msg : 成功
     * data : {"is_activity":"1","invite":{"title":"活动1","landmark":"新希望国际","address":"新希望国际sdsd","is_activity":"1","longitude":"104.119509","latitude":"30.603636","user_nickname":"132****1252","user_logo":"http://aaa.com/\\Public\\system\\avatar.png","ad_logo":"http://aaa.com//Public/uploads/2016-10-21/5809b60e77e3c.jpg","color":"","is_own":0,"is_expire":0,"is_member":1,"week":"星期二","date":"2017/04/25 18:19","time":"18:19","share_url":"http://aaa.com//index.php/Wap/Index/inviteActivity.html?invite_id=1","member":[{"user_id":"10152","user_nickname":"132****1252","user_logo":"http://aaa.com/\\Public\\system\\avatar.png"}]},"activity":{"activity_id":"1","title":"活动1","address":"新希望国际sdsd","content":"活动活动活动活动活动活动活动活动","number_all":"2","number_join":"1","activity_time":"2017年04月25日 18:19","time_start":"2017/04/25 18:02","time_end":"2017/04/25 18:19","is_collection":1,"text":"已有12人参加/限20人参加","img_path":"http://aaa.com/1493115553","img_other":[{"url":"http://aaa.com//Public/uploads/app/2016-11-29/583cdcde8756f.jpg"},{"url":"http://aaa.com//Public/uploads/app/2016-11-29/583cdd9f29c58.jpg"},{"url":"http://aaa.com//Public/uploads/app/2016-11-29/583cde216d4b4.png"}]}}
     */

    private String error_code;
    private String msg;
    private DataBean data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBean implements Serializable {
        /**
         * is_activity : 1
         * invite : {"title":"活动1","landmark":"新希望国际","address":"新希望国际sdsd","is_activity":"1","longitude":"104.119509","latitude":"30.603636","user_nickname":"132****1252","user_logo":"http://aaa.com/\\Public\\system\\avatar.png","ad_logo":"http://aaa.com//Public/uploads/2016-10-21/5809b60e77e3c.jpg","color":"","is_own":0,"is_expire":0,"is_member":1,"week":"星期二","date":"2017/04/25 18:19","time":"18:19","share_url":"http://aaa.com//index.php/Wap/Index/inviteActivity.html?invite_id=1","member":[{"user_id":"10152","user_nickname":"132****1252","user_logo":"http://aaa.com/\\Public\\system\\avatar.png"}]}
         * activity : {"activity_id":"1","title":"活动1","address":"新希望国际sdsd","content":"活动活动活动活动活动活动活动活动","number_all":"2","number_join":"1","activity_time":"2017年04月25日 18:19","time_start":"2017/04/25 18:02","time_end":"2017/04/25 18:19","is_collection":1,"text":"已有12人参加/限20人参加","img_path":"http://aaa.com/1493115553","img_other":[{"url":"http://aaa.com//Public/uploads/app/2016-11-29/583cdcde8756f.jpg"},{"url":"http://aaa.com//Public/uploads/app/2016-11-29/583cdd9f29c58.jpg"},{"url":"http://aaa.com//Public/uploads/app/2016-11-29/583cde216d4b4.png"}]}
         */

        private String is_activity;
        private InviteBean invite;
        private ActivityBean activity;

        public String getIs_activity() {
            return is_activity;
        }

        public void setIs_activity(String is_activity) {
            this.is_activity = is_activity;
        }

        public InviteBean getInvite() {
            return invite;
        }

        public void setInvite(InviteBean invite) {
            this.invite = invite;
        }

        public ActivityBean getActivity() {
            return activity;
        }

        public void setActivity(ActivityBean activity) {
            this.activity = activity;
        }

        public static class InviteBean implements Serializable {
            /**
             * title : 活动1
             * landmark : 新希望国际
             * address : 新希望国际sdsd
             * is_activity : 1
             * longitude : 104.119509
             * latitude : 30.603636
             * user_nickname : 132****1252
             * user_logo : http://aaa.com/\Public\system\avatar.png
             * ad_logo : http://aaa.com//Public/uploads/2016-10-21/5809b60e77e3c.jpg
             * color :
             * is_own : 0
             * is_expire : 0
             * is_member : 1
             * week : 星期二
             * date : 2017/04/25 18:19
             * time : 18:19
             * share_url : http://aaa.com//index.php/Wap/Index/inviteActivity.html?invite_id=1
             * member : [{"user_id":"10152","user_nickname":"132****1252","user_logo":"http://aaa.com/\\Public\\system\\avatar.png"}]
             */

            private String title;
            private String landmark;
            private String address;
            private String is_activity;
            private String longitude;
            private String latitude;
            private String user_nickname;
            private String user_logo;
            private String ad_logo;
            private String color;
            private String is_own;
            private String is_expire;
            private String is_member;
            private String week;
            private String date;
            private String time;
            private String share_url;
            private ArrayList<MemberBean> member;
            private String invite_id;

            public String getInvite_id() {
                return invite_id;
            }

            public void setInvite_id(String invite_id) {
                this.invite_id = invite_id;
            }


            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getLandmark() {
                return landmark;
            }

            public void setLandmark(String landmark) {
                this.landmark = landmark;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getIs_activity() {
                return is_activity;
            }

            public void setIs_activity(String is_activity) {
                this.is_activity = is_activity;
            }

            public String getLongitude() {
                return longitude;
            }

            public void setLongitude(String longitude) {
                this.longitude = longitude;
            }

            public String getLatitude() {
                return latitude;
            }

            public void setLatitude(String latitude) {
                this.latitude = latitude;
            }

            public String getUser_nickname() {
                return user_nickname;
            }

            public void setUser_nickname(String user_nickname) {
                this.user_nickname = user_nickname;
            }

            public String getUser_logo() {
                return user_logo;
            }

            public void setUser_logo(String user_logo) {
                this.user_logo = user_logo;
            }

            public String getAd_logo() {
                return ad_logo;
            }

            public void setAd_logo(String ad_logo) {
                this.ad_logo = ad_logo;
            }

            public String getColor() {
                return color;
            }

            public void setColor(String color) {
                this.color = color;
            }

            public String getIs_own() {
                return is_own;
            }

            public void setIs_own(String is_own) {
                this.is_own = is_own;
            }

            public String getIs_expire() {
                return is_expire;
            }

            public void setIs_expire(String is_expire) {
                this.is_expire = is_expire;
            }

            public String getIs_member() {
                return is_member;
            }

            public void setIs_member(String is_member) {
                this.is_member = is_member;
            }

            public String getWeek() {
                return week;
            }

            public void setWeek(String week) {
                this.week = week;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getShare_url() {
                return share_url;
            }

            public void setShare_url(String share_url) {
                this.share_url = share_url;
            }

            public ArrayList<MemberBean> getMember() {
                return member;
            }

            public void setMember(ArrayList<MemberBean> member) {
                this.member = member;
            }

            public static class MemberBean implements Serializable {
                /**
                 * user_id : 10152
                 * user_nickname : 132****1252
                 * user_logo : http://aaa.com/\Public\system\avatar.png
                 */

                private String user_id;
                private String user_nickname;
                private String user_logo;

                public String getUser_id() {
                    return user_id;
                }

                public void setUser_id(String user_id) {
                    this.user_id = user_id;
                }

                public String getUser_nickname() {
                    return user_nickname;
                }

                public void setUser_nickname(String user_nickname) {
                    this.user_nickname = user_nickname;
                }

                public String getUser_logo() {
                    return user_logo;
                }

                public void setUser_logo(String user_logo) {
                    this.user_logo = user_logo;
                }
            }
        }

        public static class ActivityBean implements Serializable {
            /**
             * activity_id : 1
             * title : 活动1
             * address : 新希望国际sdsd
             * content : 活动活动活动活动活动活动活动活动
             * number_all : 2
             * number_join : 1
             * activity_time : 2017年04月25日 18:19
             * time_start : 2017/04/25 18:02
             * time_end : 2017/04/25 18:19
             * is_collection : 1
             * text : 已有12人参加/限20人参加
             * img_path : http://aaa.com/1493115553
             * img_other : [{"url":"http://aaa.com//Public/uploads/app/2016-11-29/583cdcde8756f.jpg"},{"url":"http://aaa.com//Public/uploads/app/2016-11-29/583cdd9f29c58.jpg"},{"url":"http://aaa.com//Public/uploads/app/2016-11-29/583cde216d4b4.png"}]
             */

            private String activity_id;
            private String title;
            private String address;
            private String content;
            private String number_all;
            private String number_join;
            private String activity_time;
            private String time_start;
            private String time_end;
            private String is_collection;
            private String text;
            private String img_path;
            private ArrayList<ImgOtherBean> img_other;

            public String getActivity_id() {
                return activity_id;
            }

            public void setActivity_id(String activity_id) {
                this.activity_id = activity_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getNumber_all() {
                return number_all;
            }

            public void setNumber_all(String number_all) {
                this.number_all = number_all;
            }

            public String getNumber_join() {
                return number_join;
            }

            public void setNumber_join(String number_join) {
                this.number_join = number_join;
            }

            public String getActivity_time() {
                return activity_time;
            }

            public void setActivity_time(String activity_time) {
                this.activity_time = activity_time;
            }

            public String getTime_start() {
                return time_start;
            }

            public void setTime_start(String time_start) {
                this.time_start = time_start;
            }

            public String getTime_end() {
                return time_end;
            }

            public void setTime_end(String time_end) {
                this.time_end = time_end;
            }

            public String getIs_collection() {
                return is_collection;
            }

            public void setIs_collection(String is_collection) {
                this.is_collection = is_collection;
            }

            public String getText() {
                return text;
            }

            public void setText(String text) {
                this.text = text;
            }

            public String getImg_path() {
                return img_path;
            }

            public void setImg_path(String img_path) {
                this.img_path = img_path;
            }

            public ArrayList<ImgOtherBean> getImg_other() {
                return img_other;
            }

            public void setImg_other(ArrayList<ImgOtherBean> img_other) {
                this.img_other = img_other;
            }

            public static class ImgOtherBean implements Serializable {
                /**
                 * url : http://aaa.com//Public/uploads/app/2016-11-29/583cdcde8756f.jpg
                 */

                private String url;

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }
    }
}
